package com.company.recruit.spider.entity;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;

/**
 * @author XiAoXu
 * @date 2021/12/8 11:58
 * @description
 */
@Data
@Accessors(chain = true)
@ToString
@Document("boss")
public class BossData {
    @Id
    private String id;

    @Field("地区")
    private String area;

    @Field("招聘信息")
    private List<Object> list;
}
